package cn.edu.scau.cmi.chensicheng.composite.consistent;

public class ConsistentLeaf extends ConsistentComponent{
	public ConsistentLeaf(String name) {
		this.name=name;
	}
	
	public String printName() {
		return "我是一个人, 名叫: "+this.name;
	}
}
